package com.atguigu.gulimall.product.feign;

import com.atguigu.common.to.SkuReductionTo;
import com.atguigu.common.to.SpuBoundTo;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author Zyx
 * @since 2021/5/30 8:06 下午
 */

@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/memberprice/delete")
    R saveSpuBounds(SpuBoundTo spuBoundTo);

    @PostMapping("/coupon/memberprice/delete")
    R saveSkuReduction(SkuReductionTo skuReductionTo);
}
